package com.oceanstar.Pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ActivityInfo {
    private int activityId;     //活动id
    private String title;       //活动标题
    private String content;     //活动内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;     //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;       //结束时间
    private String location;   //活动地点
    private Integer maxParticipants;    //人数限制
}
